//
//  HMLeftMenu.h
//  网易新闻
//
//  Created by apple on 14-7-25.
//  Copyright (c) 2014年 heima. All rights reserved.
//
// 颜色
#define HMColor(r, g, b) [UIColor colorWithRed:(r)/255.0 green:(g)/255.0 blue:(b)/255.0 alpha:1.0]
#define HMColorRGBA(r, g, b, a) [UIColor colorWithRed:(r)/255.0 green:(g)/255.0 blue:(b)/255.0 alpha:a]

// 随机色
#define HMRandomColor HMColor(arc4random_uniform(256), arc4random_uniform(256), arc4random_uniform(256))


#import <UIKit/UIKit.h>
#import <Foundation/Foundation.h>
#import "UIView+Extension.h"
#import "UIImage+Extension.h"
#import "UIBarButtonItem+Extension.h"
@class HMLeftMenu;

@protocol HMLeftMenuDelegate <NSObject>
@optional
- (void)leftMenu:(HMLeftMenu *)menu didSelectedButtonFromIndex:(NSUInteger)fromIndex toIndex:(NSUInteger)toIndex;
@end

@interface HMLeftMenu : UIView
@property (nonatomic, weak) id<HMLeftMenuDelegate> delegate;
@end
